InitializeEventPayload
Index
Column | Column |
---|---|
InitializeEventPayload.appConfig | InitializeEventPayload.chartModel |
InitializeEventPayload.componentId | InitializeEventPayload.containerElSelector |
InitializeEventPayload.hostUrl |
Properties
appConfig
appConfig: AppConfig
Optional
Additional app configuration
chartModel
chartModel: ChartModel
The entire chart object with data
componentId
componentId: string
This is a unique component id that the context should send in every post message payload. This helps in identifying multiple app components.
containerElSelector
containerElSelector: string
The selector of the container element where the chart will be rendered. Used for internal charts, external custom charts mostly have their own DOM.
hostUrl
hostUrl: string
The host URL of the parent to send the post message requests to. We cannot use the window.parent object details to fetch this. Hence sending in init flow.